<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Masked Input Plugin Tests</title>

    <!--Jasmine-->
    <link rel="stylesheet" type="text/css" href="lib/jasmine/jasmine.css">
    <script type="text/javascript" src="lib/jasmine/jasmine.js"></script>
    <script type="text/javascript" src="lib/jasmine/jasmine-html.js"></script>

    <!--Jasmine Species-->
    <link rel="stylesheet" type="text/css" href="lib/jasmine-species/calm.css">
    <script type="text/javascript" src="lib/jasmine-species/jasmine-grammar.js"></script>
    <script type="text/javascript" src="lib/jasmine-species/jasmine-reporting.js"></script>

    <!--My Stuff-->
    <script type="text/javascript" src="lib/matchers.js"></script>
    <script type="text/javascript">
        function importGrammar(g){
            for (var prop in g) {
                if (g.hasOwnProperty(prop))
                    window[prop] = g[prop];

            }
        }
        importGrammar(jasmine.grammar.FeatureStory);
        importGrammar(jasmine.grammar.GWT);

		var input;
		beforeEach(function(){ input = $("<input />").appendTo("body").focus(); });
		afterEach(function(){ input.remove();});

    </script>

    <!-- include source files here... -->
    <script type="text/javascript" src="../lib/jquery-1.9.0.min.js"></script>
    <script type="text/javascript" src="lib/jquery.keymasher.js"></script>
    <script type="text/javascript" src="../dist/jquery.maskedinput.min.js"></script>

    <!-- Specs -->
    <script type="text/javascript" src="Setup.Spec.js"></script>
	<script type="text/javascript" src="Raw.Spec.js"></script>
    <script type="text/javascript" src="Focus.Spec.js"></script>
    <script type="text/javascript" src="Typing.Spec.js"></script>
    <script type="text/javascript" src="Backspace.Spec.js"></script>
    <script type="text/javascript" src="Delete.Spec.js"></script>
	<script type="text/javascript" src="Escape.Spec.js"></script>
    <script type="text/javascript" src="Paste.Spec.js"></script>


</head>
<body>

<script type="text/javascript">
    var jasmineEnv = jasmine.getEnv();
    var styledReporter = new jasmine.reporting.StyledHtmlReporter();

    jasmineEnv.addReporter(styledReporter);

    jasmineEnv.specFilter = function(spec) {
        return styledReporter.specFilter(spec);
    };
    jasmine.getEnv().execute();
</script>

</body>
</html>
